package com.cgs.query.service

import com.cgs.query.domain.ProjectLockLog
import com.cgs.query.domain.QueryProject

/**
 * 项目锁定日志
 */
interface IProjectLockLogService {

    fun save(oldQueryProject: QueryProject, newQueryProject: QueryProject, userId: String?)

    /**
     * 清空项目日志
     */
    fun delete(name: String)

    /**
     * 分页查找项目日志,时间倒叙
     */
    fun findByName(name: String): List<ProjectLockLog>?

}